﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel.DataAnnotations;
using System.ServiceModel.DomainServices.Server;

namespace demo.Web.PresentationModel
{
    public partial class PMDepartment
    {
        [Key]
        public string ID { get; set; }
        public string Name { get; set; }

        
        [Include]
        [Association("dept_emp", "ID", "DeptID", IsForeignKey=false)]
        public IEnumerable<PMEmployee> Employees { get; set; }

    }
}